package com.secxiot.provider.narcotic.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 药品类型
 */
@ApiModel
@Data
@ToString
public class NarcoticDrugsFactoryVo implements Serializable {
    private static final long serialVersionUID = 3898112379487975607L;

    @ApiModelProperty(value = "厂家ID", required = true)
    private Long drugsFactoryId;

    @ApiModelProperty(value = "医院id", required = true)
    private Long hospitalId;

    @ApiModelProperty(value = "厂家名称", required = true)
    private String name;

    @ApiModelProperty(value = "营业执照编号", required = true)
    private String licenseNo;
    
    @ApiModelProperty(value = "营业执照图片", required = true)
    private String licenseFile;
    
    @ApiModelProperty(value = "联系人", required = true)
    private String linkman;
    
    @ApiModelProperty(value = "联系电话", required = true)
    private String linkPhone;
    
    @ApiModelProperty(value = "联系地址", required = true)
    private String linkAddress;

    @ApiModelProperty(value = "状态(0无效;1有效)", required = true)
    private Integer status;

    @ApiModelProperty(value = "创建人", required = true)
    private Long createUser;

    @ApiModelProperty(value = "创建时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
}
